package com.zg.indiv.domain.req.folder;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
* @author lixin
*/
@Data
public class IndivFolderEditNameReq {
    /**
     * 目录ID
     */
    @ApiModelProperty(value = "目录ID", required = true)
    @NotNull(message = "【目录ID】字段不能为NULL")
    private Long folderId;

    /**
     * 新名称
     */
    @ApiModelProperty(value = "新名称", required = true)
    @NotBlank(message = "【新名称】字段不能为NULL")
    private String newName;
}
